/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2021/11/8
 * \* Time: 10:17
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */
public class TestDemo {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.addLast(10);
        myArrayList.addLast(11);
        myArrayList.addLast(12);
        myArrayList.addLast(13);
        myArrayList.addLast(14);
        myArrayList.display();

        System.out.println();
        System.out.println(myArrayList.contains(11));
        System.out.println(myArrayList.size());

        myArrayList.addIndex(0,33);
        myArrayList.display();


    }
}
